(set: $var to 17)
(goto: "Hello")
(set: $turns+1)
Hello, welcome to the Number Guessing Game.
The rules are simple: Guess the secret number from 1-100.
[[Next|What number do you guess?]]
(set:$guess to (num:(prompt: "What number do you guess?")))
(set: $turns to it + 1)
(if: $guess = 17)[(goto: "Correct")]
(if: $guess > 17)[(goto: "Too High")]
(if: $guess < 17)[(goto: "Too Low")]
This number is too high.
[[Try Again|What number do you guess?]]
This number is too low.
[[Try again|What number do you guess?]]
Correct!
(display: $var, $turns)[The secret number is $var
You had $turns turns]
[[Restart|Hello]]